package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.Warning;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/14
 **/
public interface WarningService {
    public List<Warning> selectList(Warning warning);

    public Warning selectById(Long id);

    public Boolean create(Warning warning);

    public Boolean update(Warning warning);

    public Boolean deleteById(Long id);

    List<Warning> selectFiveList();

    Integer selectListCount(String startTime, String endTime, String type);

    List<Warning> selectTenList(Warning warning);

    void autoWarning();
}
